﻿using CSA.Domain.Services;
using CSA.Infrastructure.DTO;
using System;
using System.Collections.Generic;

namespace CSA.Application
{
    public class UserApp
    {
        private IUserService _userService;
        public UserApp(IUserService userService)
        {
            _userService = userService;
        }
        public List<UserDTO> GetUsers()
        {
            return _userService.GetAllUsers();
        }
    }
}
